
package com.huaweicloud.haydn.delivercore.agent.dto.haydn;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 功能描述
 *
 * @since 2022-12-21
 */
@Data
@Accessors(chain = true)
public class DbMonitoringObjResultDto {

    @ApiModelProperty(value = "监控对象uuid")
    @JsonProperty("monitoring_object_uuid")
    private String monitoringObjectUuid;

    @ApiModelProperty(value = "监控日期")
    @JsonProperty("monitoring_date")
    private Date monitoringDate;

    @ApiModelProperty(value = "监控结果")
    @JsonProperty("monitoring_result")
    private String monitoringResult;

    @ApiModelProperty(value = "监控结果详情")
    @JsonProperty("monitoring_result_detail")
    private String monitoringResultDetail;

    @ApiModelProperty(value = "源端数据库名")
    @JsonProperty("source_db_name")
    private String sourceDbName;

    @ApiModelProperty(value = "源端Schema")
    @JsonProperty("source_schema_name")
    private String sourceSchemaName;

    @ApiModelProperty(value = "源端table名")
    @JsonProperty("source_table_name")
    private String sourceTableName;

    @ApiModelProperty(value = "源端字段名")
    @JsonProperty("source_field_name")
    private String sourceFieldName;

    @ApiModelProperty(value = "源端table记录数")
    @JsonProperty("source_table_row")
    private String sourceTableRow;

    @ApiModelProperty(value = "目的端数据库名")
    @JsonProperty("target_db_name")
    private String targetDbName;

    @ApiModelProperty(value = "目的端Schema名")
    @JsonProperty("target_schema_name")
    private String targetSchemaName;

    @ApiModelProperty(value = "目的端table名")
    @JsonProperty("target_table_name")
    private String targetTableName;

    @ApiModelProperty(value = "目的端字段名")
    @JsonProperty("target_field_name")
    private String targetFieldName;

    @ApiModelProperty(value = "目的端table记录数")
    @JsonProperty("target_table_row")
    private String targetTableRow;
}
